cmake_minimum_required(VERSION 3.16)
project(SDLExample)

set(CMAKE_CXX_STANDARD 14)

include_directories(include)

find_package(SDL2 CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)

add_executable(SDLExample glad.c main.cpp)

target_link_libraries(SDLExample SDL2::SDL2 SDL2::SDL2main)